<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    {css file="__PUBLIC__/css/arc.css"/}
    {jquery/}
    {jsconst/}
    {js file="__PUBLIC__/js/arcedit.js"/}
</head>
<body style="background:#E6F7FF">
    <!-- <div class="beforeajax"><img src="__PUBLIC__/images/loading.gif" width="24" height="24" /></div> -->
    <!-- <p class="weizhi"><strong>当前位置</strong>:　内容管理 > 栏目管理</p> -->
    <p class="dingji"><a href="{|U('addshow')}">添加文章</a></p>
    <div id="table">
        <table width="1000px" class="table1">
            <tr>
                <th width="20">&nbsp;</th>
                <th width="100">文章ID</th>
                <th width="260">文章标题</th>
                <th>所属栏目</th>
                <th>点击次数</th>
                <th width="180">操作</th>
            </tr>
            {if value="$data"}
            {foreach from="$data" key="$key" value="$v"}
            <tr class="alldel">
                <td width="20">
                    <input type="checkbox" class="arcbox" aid="{$v.aid}"/>
                </td>
                <td>{$v.aid}</td>
                <td>{$v.title}</td>
                <td>{$v.catname}</td>
                <td>{$v.click}</td>
                <td>
                    <a href="__ROOT__/index.php?c=index&m=arc&aid={$v.aid}" target="_blank">预览</a> |
                    <a href="{|U('editshow',array('aid'=>$v['aid']))}">编辑</a> |
                    <a href="" aid="{$v.aid}" class="delcategory">删除</a>
                </td>
            </tr>
            {/foreach}
            {else}
            <tr><td colspan="6" style="text-align: center;">对不起，暂无任何数据</td></tr>
            {/if}
            <tr class="sort">
                <td colspan="6" class="d">
                    <a href="" class="quanxuan">全选</a>
                    <a href="" class="fanxuan">反选</a>
                    <a href="" class="quanbuxuan">全不选</a>
                    <a href="" class="del">删除</a>
                </td>
            </tr>
        </table>
        <div id="div_page">{$page}</div>
    </div>
</body>
</html>
